import { Slave } from 'message-lite';

/**
 * 全局事件处理函数
 */
export const globalEventBus = new Slave({
  listenMessage(fn: (message: any) => void): void {},
  unListenMessage(fn: (message: any) => void): void {},
  createSender(origin?: any): (message: any) => void {
    return function (p1: any) {};
  },
});
